package ar.com.globallogic.promomr.services;

import java.util.Date;
import java.util.List;

import ar.com.globallogic.promomr.domain.Publication;

public interface PublicationService {
	
	public Publication findOne(String id);
	
	public Publication findByContentId(String contentId);
	
	public Publication save(Publication publication);
	
	public Publication publish(Publication publication);
	
	public Publication publishAt(Publication publication, Date publicationDate);
	
	public Publication cancel(Publication publication);
	
	public void publishPendingPublications();
		
	public List<Publication> findPublicationsForContentIdsAndUserId(List<String> contentIds, String userId);

}
